﻿using System;

namespace Moe.ECamel.Common.Entities
{
	public static class MessageIds
	{
		public const int UnexpectedError = 1;
		public const int SecurityInvalidCredentials = 2;
		public const int SecurityMaxAttemptsReached = 3;
		public const int LoginInvalidInactiveLibrary = 4;
		public const int SecurityInsufficientPermissions = 5;
		public const int ChangePasswordFailedInvalidOldPassword = 6;
		public const int ChangePasswordFailedPasswordsNotMatch = 7;

		public const int LibraryInvalidMissingFields = 1001;
		public const int LibraryInvalidDuplicateName = 1002;

		public const int UserInvalidMissingFields = 2001;
		public const int UserInvalidDuplicateName = 2002;

		public const int EmployeeInvalidMissingFields = 3001;
		public const int EmployeeInvalidNegativeSalary = 3002;
		public const int EmployeeCannotChangeManagerStatus = 3003;
		public const int EmployeeManagerCannotBeInactive = 3004;

		public const int SubscriptionInvalidDuplicateActive = 5002;
		public const int SubscriptionInvalidExpired = 5003;
		public const int SubscriptionDeleteConfirmation = 5004;

		public const int ItemInvalidMissingFields = 6001;
		public const int ItemInvalidDuplicateCatalogNumber = 6002;
		public const int ItemDeleteConfirmation = 6003;

		public const int RentalSuccessful = 7001;
		public const int RentalInvalidNoActiveSubscription = 7002;
		public const int RentalInvalidExceedsSubscription = 7003;
		public const int RentalInvalidNoAvailableInventory = 7004;
		public const int RentalReservationRequestAdded = 7005;
		public const int RentalCustomerHasDebt = 7006;
		public const int RentalReturnInvalidMissingFields = 7011;
		public const int RentalReturnInvalidAlreadyRetuend = 7012;
		public const int RentalReturnInvalidReturnBeforeRental = 7013;
		public const int RentalReturnFineForLateReturn = 7014;
		public const int RentalFineInvalidNotReturnedYet = 7015;
		public const int RentalFineInvalidNoFineToPay = 7016;
		public const int RentalFineInvalidAlreadyPayed = 7017;

		public const int InventoryTrasferFailed = 8001;
		public const int InventoryTrasferSucceeded = 8002;
		public const int InventoryNewCopyRequestCreated = 8011;
		public const int InventoryNewCopyAdded = 8012;
	}
}